<div id="addGovSchoolModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">添加学校</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">学校名称</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.schoolName" type="text" placeholder="必填，请填写学校名称"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">学校地址</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.schoolAddress" type="text" placeholder="必填，请填写学校地址"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">学校办学类型</label>
                <div class="col-sm-10">
                    <select class="custom-select" v-model="addGovSchoolInfo.schoolType">
                      <option selected value="">请选择</option>
                      <option v-for="(item,index) in govSchoolManageInfo.schoolTypes" :value="item.statusCd">
                        {{item.name}}
                     </option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">所属行政区</label>
              
                <div class="col-sm-10">
                  <select id="pro" class="form-control form-control-sm"
                      style="width: 30%;display: inline;" v-model="addGovSchoolInfo.selectProv"
                      @change="getProv(addGovSchoolInfo.selectProv)">
                      <option value='' disabled selected style='display:none;'>请选择省</option>
                      <option v-for="item in addGovSchoolInfo.provs" :label="item.areaName" :value="item.areaCode">
                          {{item.areaName}}
                      </option>
                  </select>

                  <select id="city" class="form-control form-control-sm"
                      style="width: 30%;display: inline;" v-if="addGovSchoolInfo.selectProv!=''" v-model="addGovSchoolInfo.selectCity"
                      @change="getCity(addGovSchoolInfo.selectCity)">
                      <option value='' disabled selected style='display:none;'>请选择城市</option>
                      <option v-for="item in addGovSchoolInfo.citys" :label="item.areaName" :value="item.areaCode">
                          {{item.areaName}}
                      </option>
                  </select>

                  <select id="area" class="form-control form-control-sm"
                      style="width: 30%;display: inline;" v-if="addGovSchoolInfo.selectCity!=''" v-model="addGovSchoolInfo.selectArea"
                      @change="getArea(addGovSchoolInfo.selectArea)">
                      <option value='' disabled selected style='display:none;'>请选择区县</option>
                      <option v-for="item in addGovSchoolInfo.areas" :label="item.areaName" :value="item.areaCode">
                          {{item.areaName}}
                      </option>
                  </select>
              </div>
              </div>
              
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">在校学生数</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.studentNum" type="text" placeholder="必填，请填写在校学生数"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">校长姓名</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.schoolmaster" type="text" placeholder="必填，请填写校长姓名"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">校长联系方式</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.masterTel" type="text" placeholder="必填，请填写校长联系方式"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">分管安保负责人</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.partSafetyLeader" type="text" placeholder="必填，请填写分管安保负责人"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">分管安保负责人联系电话</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.partLeaderTel" type="text" placeholder="必填，请填写分管安保负责人联系电话"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">安保负责人</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.safetyLeader" type="text" placeholder="必填，请填写安保负责人"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">安保负责人联系电话</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.leaderTel" type="text" placeholder="必填，请填写安保负责人联系电话"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">治安负责人</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.securityLeader" type="text" placeholder="必填，请填写治安负责人"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">治安负责人联系方式</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.securityLeaderTel" type="text" placeholder="必填，请填写治安负责人联系方式"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">安全保卫人数</label>
                <div class="col-sm-10">
                  <input v-model="addGovSchoolInfo.securityPersonnelNum" type="text" placeholder="必填，请填写安全保卫人数"
                    class="form-control">
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="saveGovSchoolInfo()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>